package com.iflytek.aisol.audit.iflytek.strategy.manage.dto;

import com.iflytek.aisol.audit.iflytek.strategy.manage.constant.ChannelType;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author hswang7
 */
@Data
public class ChannelConfigDTO {
    /**
     * channelId
     */
    @NotBlank(message = "channelId不能为空")
    private String channelId;
    /**
     * 配置
     */
    @NotNull(message = "配置不能为空")
    private Object config;

    @NotNull(message = "模板名称不能为空")
    private ChannelType templateName;

    private String description;

}
